<div class="indexLinks"><a href="<?php echo $this->url(array('module'=>'prof','controller'=>'attrib','action'=>'add'),'default',true)?>">Add an attribution</a></div>
<?php foreach ($this->entries as $entry):?>
<div class="entry">
	<div class="head">
		<div class="left"><?php echo $entry->titre?></div>
		<div class="right"><a href="<?php 
		echo $this->url(array(
			'module'=>'prof',
			'controller'=>'attrib',
			'action'=>'delete',
			'qcm'=>$entry->id_qcm,
			'section'=>$entry->id_section,
			'annee'=>$entry->annee,
			'groupe'=>$entry->groupe
		),'default',true)?>">Delete</a></div>
	</div>
	<div class="bottom"><?php echo $entry->abrev.' '.$entry->annee.' '.$entry->groupe?></div>
</div>
<?php endforeach;?>
<?php echo $this->paginationControl($this->entries, 'Elastic', 'pagination_controll.phtml')?>
